package com.meng.mmlive.api;

import com.meng.mmlive.entity.Adverts;
import com.meng.mmlive.entity.BaseResponseData;
import com.meng.mmlive.entity.HomeMenu;

import java.util.List;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Created by Administrator on 2017/5/13.
 */

public interface ApiService {
    String URL1 = "http://ucloudmatch.seex.im:8080/";
    String URL2 = "http://ucloudmapper.seex.im:8080/";
    @POST("match/sysAward/getAdverts.do")
    Observable<BaseResponseData<List<Adverts>>> getAdverts(@Body RequestBody body);
    @POST("match/menuList/getMenuList.do")
    Observable<BaseResponseData<List<HomeMenu>>> getMenuList(@Body RequestBody body);
}
